package com.bigbirdmed.cloud.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

/**
 * @Author: ls
 * @Date: 2022/02/28/16:59
 * @Description: 用户管理模块
 */
public class UserManageDTO {


	@Data
	@ApiModel(value = "GetInfoByUserNameDTO",description = "获取指定用户全部信息入参")
	public static class GetInfoByUserNameDTO implements Serializable {

		private static final long serialVersionUID = -5074989714352308016L;

		@ApiModelProperty("用户名")
		private String userName;

	}

	@Data
	@ApiModel(value = "GetUserDetailsByUserNameDTO",description = "根据用户名查询用户信息入参")
	public static class GetUserDetailsByUserNameDTO implements Serializable {

		private static final long serialVersionUID = -5074989714352308016L;

		@ApiModelProperty("用户名")
		private String userName;

	}

	@Data
	@ApiModel(value = "FindAncestorListByUserNameDTO",description = "根据用户名查询上级部门用户列表")
	public static class FindAncestorListByUserNameDTO implements Serializable {

		private static final long serialVersionUID = -5074989714352308016L;

		@ApiModelProperty("用户名")
		private String userName;

	}

	@Data
	@ApiModel(value = "FindUserIdListByDeptIdsDTO",description = "根据部门id，查询对应的用户 id 集合入参")
	public static class FindUserIdListByDeptIdsDTO implements Serializable {

		private static final long serialVersionUID = 6711575736834574096L;

		@ApiModelProperty("用户 id 集合")
		private Set<Long> deptIds;

	}


}
